package proj.pt.model;

import java.util.HashSet;
import java.util.Set;

public class Course extends PersistentImpl{
	
	public static final String SEMESTER_WISE = "SEMESTER_WISE";
	public static final String YEAR_WISE = "YEAR_WISE";
	
	private String courseId;
	private String description;
	private Set batch = new HashSet();
	
	/**
	 * This will SEMESTER_WISE or YEAR_WISE,
	 * default set to SEMESTER_WISE 
	 */
	private String courseType = SEMESTER_WISE; 
	private Department department;
	private Set subCourse = new HashSet();
	
	public String getCourseId() {
		return courseId;
	}
	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getCourseType() {
		return courseType;
	}
	public void setCourseType(String courseType) {
		this.courseType = courseType;
	}
	public Department getDepartment() {
		return department;
	}
	public void setDepartment(Department department) {
		this.department = department;
	}
	public Set getSubCourse() {
		return subCourse;
	}
	public void setSubCourse(Set subCourse) {
		this.subCourse = subCourse;
	}
	public static String getSEMESTER_WISE() {
		return SEMESTER_WISE;
	}
	public static String getYEAR_WISE() {
		return YEAR_WISE;
	}
	public Set getBatch() {
		return batch;
	}
	public void setBatch(Set batch) {
		this.batch = batch;
	}
	
}

